package net.xiaosaguo.mymall.product.feign;

import net.xiaosaguo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * description: 仓储服务 远程调用 Service
 *
 * @author xiaosaguo
 * @date 2020/06/20
 */
@FeignClient("mymall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasstock")
    R listSkuHasStock(@RequestParam List<Long> skuIds);
}
